#!/bin/sh
#
# Startup script for syslog-ng
#

# Stop itself if running
if [ -n "`pidof syslog-ng`" ]; then
    %OPTWARE_TARGET_PREFIX%/bin/killall syslog-ng 2>/dev/null
fi

sleep 2

%OPTWARE_TARGET_PREFIX%/sbin/syslog-ng
